<div class="titulo bordes sombreado">
  <?php if(!empty($title)): ?>  
    <?php echo $title.' - ' ?>
    <?php $carrera = $this->consultas_m->carrera(); ?>
    Carrera: <?php foreach ($carrera as $carrera){echo $carrera->desc_carr.' - ';}?>
    <?php $plan_estudio = $this->consultas_m->plan_estudio(); ?>
    Plan de estudio:<?php foreach ($plan_estudio as $plan){echo $plan->aniovig_plst;}?>
  <?php endif;?>   
</div>